package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 设备状态对象 equipment_status
 *
 * @author ruoyi
 * @date 2025-03-19
 */
public class EquipmentStatus extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 设备编号（唯一标识）
     */
    private String equipmentId;

    /**
     * 设备名称
     */
    @Excel(name = "设备名称")
    private String equipmentName;

    /**
     * 设备状态（正常/故障）
     */
    private String status;

    /**
     * 是否需报修
     */
    @Excel(name = "是否需报修")
    private String needsRepair;

    public void setEquipmentId(String equipmentId) {
        this.equipmentId = equipmentId;
    }

    public String getEquipmentId() {
        return equipmentId;
    }

    public void setEquipmentName(String equipmentName) {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentName() {
        return equipmentName;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setNeedsRepair(String needsRepair) {
        this.needsRepair = needsRepair;
    }

    public String getNeedsRepair() {
        return needsRepair;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("equipmentId", getEquipmentId())
                .append("equipmentName", getEquipmentName())
                .append("status", getStatus())
                .append("needsRepair", getNeedsRepair())
                .append("remark", getRemark())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .toString();
    }
}
